//
//  LBCategoryHeaderViewModel.h
//  AFNetworking
//
//  Created by luckyRoy on 2017/12/21.
//

#import <Foundation/Foundation.h>
#import "LBCategoryManagerURL.h"
#import "LBCategorySettingModel.h"

@interface LBCategoryHeaderViewModel : NSObject

@property (nonatomic, assign) BOOL isHideEditorButton;

@property (nonatomic, assign) BOOL isEditor;//if isShowEditorButton YES

@property (nonatomic, copy) NSMutableAttributedString *title;//can nil

@property (nonatomic, copy) NSMutableAttributedString *content;//can nil

@property (nonatomic, copy) NSString *categoryUrl;

+ (LBCategoryHeaderViewModel *)headerModelBySection:(NSInteger)section
                                       settingModel:(LBCategorySettingModel *)settingModel
                                         viewLayout:(LBCategoryMainViewLayout *)viewLayout
                                      selectedModel:(LBCategoryModel *)model;

+ (LBCategoryHeaderViewModel *)partHeaderModelParName:(NSString *)categoryName;

@end
